package com.ccsoft.atools.dao;

import com.ccsoft.atools.model.Cash;
import com.ccsoft.atools.model.CashType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CashTypeMapper {
    int deleteByPrimaryKey(Integer iid);

    int insert(CashType record);

    int insertSelective(CashType record);

    CashType selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(CashType record);

    int updateByPrimaryKey(CashType record);

    List<CashType> selectAll();

    CashType selectBySid(@Param("colpay") String colpay, @Param("sid") String sid);

    List<CashType> selectByType(String type);

    List<Cash> hasData(@Param("sid") String sid);
}